package cn.shengchao.examstar.distribute.infrastrure.mapper;

import cn.shengchao.examstar.distribute.infrastrure.po.DistributeContentInfo;
import cn.shengchao.examstar.rpc.distribute.req.CourseDistributeQueryPage;
import cn.shengchao.examstar.rpc.distribute.req.CourseDistributeUserQueryPage;
import cn.shengchao.examstar.rpc.distribute.resp.CourseDistributeForUserRespEntity;
import cn.shengchao.examstar.rpc.distribute.resp.CourseDistributeRespEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DistributeContentInfoMapper extends BaseMapper<DistributeContentInfo> {
    List<CourseDistributeRespEntity> selectDistributeContentsCoursePageQuery(@Param("query") CourseDistributeQueryPage courseQueryPage);


    List<CourseDistributeForUserRespEntity> selectDistributeContentsCourseForUserPageQuery(@Param("query") CourseDistributeUserQueryPage courseQueryPage);
}